<script setup lang='ts'>
import { inject, provide, ref } from 'vue'
import Sons from './components/sons.vue'

const value = inject('want')

const sonGetMarried = ref('sonGetMarried')

provide('sonGetMarried', sonGetMarried)

</script>

<template>
  <div>
    {{ value }}
    <Sons />
  </div>
</template>

<style lang='scss' scoped>

</style>`